export const tableOption = {
  border: true,
  indexLabel: '序号',
  index: true,
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  addBtn: true,
  editBtn: true,
  delBtn: true,
  column: [{
    label: '名称',
    prop: 'name',
    align: 'center',
    editDisabled: true,
    rules: [{
      required: true,
      message: '请输入名称',
      trigger: 'blur'
    }]
  }, {
    label: '驱动名',
    prop: 'driverName',
    overHidden: true,
    type: 'select',
    align: 'center',rules: [{
      required: true,
      message: '请选择驱动名',
      trigger: 'blur'
    }],
    dicData: [
      {
        label:'com.mysql.jdbc.Driver',
        value:'com.mysql.jdbc.Driver'
      },{
        label:'oracle.jdbc.driver.OracleDriver',
        value:'oracle.jdbc.driver.OracleDriver'
      }
    ]
  }, {
    label: 'URL',
    prop: 'driverUrl',
    align: 'center',
    overHidden: true,
    rules: [{
      required: true,
      message: '请输入URL',
      trigger: 'blur'
    }]
  },{
    label: '用户名',
    prop: 'userName',
    align: 'center',
    rules: [{
      required: true,
      message: '请输入用户名',
      trigger: 'blur'
    }]
  },{
    label: '密码',
    prop: 'password',
    align: 'center',
    type: "password",
    hide: false,
    rules: [{
      required: true,
      message: '请输入密码',
      trigger: 'blur'
    }]
  }, {
    label: '备注',
    prop: 'remark',
    align: 'center',
    rules: [{
      required: true,
      message: '请输入备注',
      trigger: 'blur'
    }]
  }]
}
